Skip to content

ci: test on Windows, macOS and Linux arm64 - #142

Merged
Kinflou merged 2 commits into
mainfrom
ci/cross-platform
Nov 8, 2026
Merged

Kinflou merged 2 commits into
mainfrom
ci/cross-platform

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Adds a Test (${{ matrix.os }}) job running the build and tests on windows-latest, macos-latest and ubuntu-24.04-arm on every push and PR. Existing check names (Test, Lint, reports) are unchanged and stay Linux-only.

Adds .gitattributes with * text=auto eol=lf so Windows checkouts keep LF in fixtures and golden files.

Fixed along the way:

  • generate (Windows): --list and the dry-run tree showed mixed separators (generated\rust/api.rs). Paths under the project now print with / everywhere (ui::shown_path, with a unit test).
  • conformance --impl (Windows): a bare program name was looked up on PATH without PATHEXT, so node never found node.exe. It now tries each extension too (unit test).
  • tests: add built file://C:\... on Windows (rejected for its \); it now builds file:///C:/.... The doc open tests compare canonical paths, since macOS's temp dir sits behind the /var → /private/var symlink.

Refs ComlineProject/core#9

Kinflou added 2 commits November 8, 2026 20:44
… --impl

- generate: paths in --list and the dry-run tree are shown with / on every
  platform (Windows printed generated\rust/api.rs)
- conformance --impl: a bare name is also tried with PATHEXT's extensions on
  Windows, so `node` finds node.exe
- tests: build a real file URL on Windows; compare canonical paths in the
  doc open tests (macOS's temp dir is behind the /var symlink)
@Kinflou
Kinflou merged commit 7741157 into main Nov 8, 2026
5 checks passed
@Kinflou
Kinflou deleted the ci/cross-platform branch November 8, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant